package com.yixun.qfbao.response.premises;
/**
 * @author zilong.liu
 * @date 2020-8-11
 */

import java.util.ArrayList;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class PremisesImgInfoResDto {

	@ApiModelProperty(value = "各类型的图片地址集合")
	private List<ImgInfoResDto> imgInfoResDtos;
	
	/**
	 * 按照图片类型添加图片信息
	 */
	public void addImgInfoResDto(ImgInfoResDto imgInfoResDto) {
		if(imgInfoResDtos == null) {
			imgInfoResDtos = new ArrayList<>();
		}
		imgInfoResDtos.add(imgInfoResDto);
	}
}
